/**
 * 
 */
package com.shark.app.common.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author lenovo
 * @description
 * @date 2016年8月16日
 */
@SuppressWarnings("serial")
public class DataAccessException extends RuntimeException {

	private static Logger log = LoggerFactory.getLogger(DataAccessException.class);
	
	public DataAccessException(String msg) {
		super(msg);
		log.error(msg);
	}
	
	public DataAccessException(String msg, Throwable e) {
		super(msg, e);
		log.error(msg, e);
	}
	
}
